package day05;
/*递归阶乘*/
public class Function {
	public static void main(String[] args) {
	System.out.println(jie(10));
	}
	public static int jie(int x){
		if(x == 1)return 1;
		return x* jie(x - 1);	
	}
}

